/*********************************************
 * Copyright (c) 2009 ICBC.
 * All rights reserved.
 * Created on 2009-7-1 04:17:06
 * 
 * Contributors:
 *     ctp - initial implementation
 *********************************************/
package com.icbc.ctpdemo.role;
/**
 * 菜单类.
 * 
 * <pre>
 *  用于角色列表查询交易
 * </pre>
 * 
 * @author kfzx-tangk
 * 
 */
public class RoleBean {
	private String id;//角色编号
	private String name;//角色名称
	private String description;//角色描述
	private String lastModiTime;//上次修改时间
	private String roleLevel;//可使用级别
	private String branchId;//角色所属机构编号
	private String lastModiUserId;//上次修改的用户编号
	private String privilegeAll;//可使用级别所有机构标识
	private String privilegeSelf;//可使用级别本机构标识
	private String privilegeOther;//可使用级别下属机构标识
	private String branchName;//角色所属机构名称
	private String branchLevel;//角色所属机构级别
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getLastModiTime() {
		return lastModiTime;
	}
	public void setLastModiTime(String lastModiTime) {
		this.lastModiTime = lastModiTime;
	}
	public String getRoleLevel() {
		return roleLevel;
	}
	public void setRoleLevel(String roleLevel) {
		this.roleLevel = roleLevel;
	}
	public String getBranchId() {
		return branchId;
	}
	public void setBranchId(String branchId) {
		this.branchId = branchId;
	}
	public String getLastModiUserId() {
		return lastModiUserId;
	}
	public void setLastModiUserId(String lastModiUserId) {
		this.lastModiUserId = lastModiUserId;
	}
	public String getPrivilegeAll() {
		return privilegeAll;
	}
	public void setPrivilegeAll(String privilegeAll) {
		this.privilegeAll = privilegeAll;
	}
	public String getPrivilegeSelf() {
		return privilegeSelf;
	}
	public void setPrivilegeSelf(String privilegeSelf) {
		this.privilegeSelf = privilegeSelf;
	}
	public String getPrivilegeOther() {
		return privilegeOther;
	}
	public void setPrivilegeOther(String privilegeOther) {
		this.privilegeOther = privilegeOther;
	}
	public String getBranchName() {
		return branchName;
	}
	public void setBranchName(String branchName) {
		this.branchName = branchName;
	}
	public String getBranchLevel() {
		return branchLevel;
	}
	public void setBranchLevel(String branchLevel) {
		this.branchLevel = branchLevel;
	}
	public String toString() {
		StringBuilder sb = new StringBuilder();
		sb.append(" id=");
		sb.append(id);
		sb.append(" name=");
		sb.append(name);
		sb.append(" description=");
		sb.append(description);
		sb.append(" lastModiTime=");
		sb.append(lastModiTime);
		sb.append(" roleLevel=");
		sb.append(roleLevel);
		sb.append(" branchId=");
		sb.append(branchId);
		sb.append(" lastModiUserId=");
		sb.append(lastModiUserId);
		sb.append(" privilegeAll=");
		sb.append(privilegeAll);
		sb.append(" privilegeSelf=");
		sb.append(privilegeSelf);
		sb.append(" privilegeOther=");
		sb.append(privilegeOther);
		sb.append(" branchName=");
		sb.append(branchName);
		sb.append(" branchLevel=");
		sb.append(branchLevel);
		return sb.toString();
	}
}
